package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 门店表
 * </p>
 *
 * @author 小飞
 * @since 2019-07-11
 */
@TableName("store")
public class Store implements Serializable {

    private static final long serialVersionUID = 1L;



    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 门店名称
     */
    @TableField("store_name")
    private String storeName;

    /**
     * 门店经度
     */
    @TableField("store_longitude")
    private String storeLongitude;


    /**
     * 门店纬度
     */
    @TableField("store_latitude")
    private String storelatitude;


    /**
     * 详细地址
     */
    @TableField("address_detail")
    private String addressDetail;

    /**
     * 押金
     */
    @TableField("cash")
    private BigDecimal cash;

    /**
     * 账号数
     */
    @TableField("acount_num")
    private Integer acountNum;

    /**
     * 多图片，隔开
     */
    @TableField("pic_path")
    private String picPath;

    /**
     * 附件
     */
    @TableField("accessory_path")
    private String accessoryPath;

    /**
     * 申请人表外键关联
     */
    private UpShop upShop;

    /**
     *设计图纸
     */
    private  String paperPath;





    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStorelatitude() {
        return storelatitude;
    }

    public void setStorelatitude(String storelatitude) {
        this.storelatitude = storelatitude;
    }

    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }

    public BigDecimal getCash() {
        return cash;
    }

    public void setCash(BigDecimal cash) {
        this.cash = cash;
    }

    public Integer getAcountNum() {
        return acountNum;
    }

    public void setAcountNum(Integer acountNum) {
        this.acountNum = acountNum;
    }

    public String getPicPath() {
        return picPath;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }

    public String getAccessoryPath() {
        return accessoryPath;
    }

    public void setAccessoryPath(String accessoryPath) {
        this.accessoryPath = accessoryPath;
    }

    public UpShop getUpShop() {
        return upShop;
    }

    public void setUpShop(UpShop upShop) {
        this.upShop = upShop;
    }

    public String getPaperPath() {
        return paperPath;
    }

    public void setPaperPath(String paperPath) {
        this.paperPath = paperPath;
    }

    public String getStoreLongitude() {
        return storeLongitude;
    }

    public void setStoreLongitude(String storeLongitude) {
        this.storeLongitude = storeLongitude;
    }




    @Override
    public String toString() {
        return "Store{" +
        "id=" + id +
        ", storeName=" + storeName +
        ", addressId=" +
        ", addressDetail=" + addressDetail +
        ", cash=" + cash +
        ", acountNum=" + acountNum +
        ", picPath=" + picPath +
        ", accessoryPath=" + accessoryPath +
        ", upShop=" + upShop +
        ", paperPath=" + paperPath +
        "}";

    }
}
